projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06f05e
)
Use cairo_surface_destroy instead of g_object_unref
author
Kristian Rietveld
<kris@gtk.org>
Sat, 16 Oct 2010 18:16:19 +0000
(20:16 +0200)
committer
Kristian Rietveld
<kris@gtk.org>
Sun, 17 Oct 2010 08:30:46 +0000
(10:30 +0200)
demos/gtk-demo/drawingarea.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/drawingarea.c
b/demos/gtk-demo/drawingarea.c
index b0b760a69328a5534d1c634ea1c11c4053fdd1b9..4af4cae1d24c44ab1ff686db3ca458eeaa621465 100644
(file)
--- a/
demos/gtk-demo/drawingarea.c
+++ b/
demos/gtk-demo/drawingarea.c
@@
-193,7
+193,7
@@
close_window (void)
window = NULL;
if (surface)
-
g_object_unref
(surface);
+
cairo_surface_destroy
(surface);
surface = NULL;
}